docs: fix simple typo, encounted -> encountered (#201)
authorTim Gates <tim.gates@iress.com>
Fri, 9 Oct 2020 12:30:50 +0000 (23:30 +1100)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 12:30:50 +0000 (08:30 -0400)
There is a small typo in utf8proc.h.

Should read `encountered` rather than `encounted`.

utf8proc.h

index 6cf1b724af02c88c92f4582fd45902e18fd56fed..c9771923696ec2bb4c73734300db0e096d8020aa 100644 (file)
@@ -502,7 +502,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(
  * string and orders the decomposed sequences correctly.
  *
  * If the @ref UTF8PROC_NULLTERM flag in `options` is set, processing
- * will be stopped, when a NULL byte is encounted, otherwise `strlen`
+ * will be stopped, when a NULL byte is encountered, otherwise `strlen`
  * bytes are processed.  The result (in the form of 32-bit unicode
  * codepoints) is written into the buffer being pointed to by
  * `buffer` (which must contain at least `bufsize` entries).  In case of